Skip to content

Conversation

@bourgeoa
Copy link
Contributor

@bourgeoa bourgeoa commented Nov 7, 2025

Summary
Adds comprehensive test suite with 100% coverage and removes unused dependencies.

Changes
Added 22 unit tests for all pane-registry functionality
100% test coverage (statements, branches, functions, lines)
Removed unused devDependencies to reduce package size
Tests cover: registration, lookup, error handling, console logging
Test Examples
Results
✅ All 22 tests passing
✅ 100% code coverage
✅ Cleaner dependency list
✅ No breaking changes
Type: Testing + Cleanup
Version: 2.5.1

Copilot AI review requested due to automatic review settings November 7, 2025 19:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR restructures the pane-registry package by moving source files into a src/ directory, adding comprehensive test coverage with Jest, and updating the build/lint configuration. The main purpose is to improve code organization, testing infrastructure, and development workflow.

Key Changes:

  • Moved paneRegistry.js and index.d.ts into src/ directory with updated package.json entry points
  • Added Jest-based test suite with 100% code coverage and Jest configuration
  • Updated ESLint configuration with separate rules for source and test files

Reviewed Changes

Copilot reviewed 5 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/paneRegistry.js Core registry implementation moved to src/ directory
src/index.d.ts TypeScript definitions moved to src/ directory
package.json Updated entry points, changed dependencies to peerDependencies, added Jest, removed Husky
jest.config.js New Jest configuration for testing with coverage reporting
eslint.config.mjs Enhanced ESLint configuration with separate rules for source and test files
tests/paneRegistry.test.js New comprehensive test suite covering all registry functionality
TESTING.md New documentation for testing procedures and coverage
.github/workflows/ci.yml Removed Node.js 18.x from CI matrix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants